-
Home
-
Square Sync for WooCommerce | Comprehensive Data Sync Between Square and WooCommerce
-
5.0.5
-
Code
-
Classes
- CustomersController
| Total Complexity |
196 |
| Dependencies |
9 |
| Dependents |
0 |
| Total lines |
1,101 |
| Lines of code |
849 |
| Logical lines of code |
512 |
| Comment lines |
43 |
| Methods |
19 |
| Properties |
2 |
Methods 19
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_square_user() |
C |
34 |
30 |
76 |
| match_customers() |
C |
30 |
24 |
109 |
| create_wordpress_user() |
B |
35 |
19 |
76 |
| process_customers() |
B |
41 |
20 |
51 |
| process_wp_users() |
B |
35 |
17 |
82 |
| fetch_and_store_square_customers() |
B |
36 |
17 |
78 |
| update_woo_user() |
B |
37 |
15 |
71 |
| create_square_user() |
A |
40 |
15 |
53 |
| get_customers() |
A |
39 |
13 |
62 |
| get_groups() |
S |
50 |
5 |
27 |
| get_groups_segments() |
S |
53 |
4 |
21 |
| register_routes() |
S |
44 |
1 |
59 |
| schedule_customer_cron() |
S |
56 |
3 |
19 |
| maybe_create_customers_table() |
S |
54 |
2 |
24 |
| handle_process_customers() |
S |
64 |
3 |
8 |
| sync_user() |
S |
65 |
3 |
9 |
| get_role_mappings() |
S |
62 |
2 |
10 |
| set_role_mappings() |
S |
62 |
2 |
10 |
| schedule_cron() |
S |
78 |
1 |
4 |